package com.zoop.bootclienta.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

	@RequestMapping(value="/info")
	public Map<String, Object> info(){
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("id", "1");
		map.put("name", "name1");
		String path = this.getClass().getClassLoader().getResource("").getPath();
		map.put("address", path);
		return map;
	}
	
}
